package cn.wenjie.gd.domain;

import cn.wj.base.annotation.IdMapping;
import cn.wj.base.annotation.TableMapping;

@TableMapping(table = "user_role")
public class UserRole {
	@IdMapping
	private Integer id;
	private Integer userId;
	private Integer roleId;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

}
